package com.guchenbo.gpark.gd

/**
 * @author guchenbo
 * @date 2022/3/21
 */
class MapGD[T, U](prev: GD[T], val func: Seq[T] => Seq[U]) extends GD[U](prev) {
  override def compute(): Seq[U] = {
    func(prev.compute())
  }
}


